package com.ctshk.rpc.hotel.entity.es;

import com.ctshk.common.constant.ElasticSearchConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;

import java.math.BigDecimal;

@Data
@ApiModel(description="酒店产品成本表")
@Document(indexName = ElasticSearchConstant.HOTEL_PRODUCT_COST_INDEX)
public class HotelProductCostEs {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "酒店产品id")
    private Long hotelProductId;
    @ApiModelProperty(value = "成本名称")
    private String costName;
    @ApiModelProperty(value = "库存")
    private Integer stock;
    @ApiModelProperty(value = "币种id")
    private Long currencyId;
    @ApiModelProperty(value = "币种名称")
    private String currencyName;
    @ApiModelProperty(value = "计划汇率")
    private BigDecimal exchangeRate;
    @ApiModelProperty(value = "价格")
    private BigDecimal price;
}
